package com.domain;

import com.mysql.cj.xdevapi.JsonValue;

public class Person implements JsonValue {

    public int id;
    public String name;
    public String password;
    public String create_time;
    public String update_time;

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public Person() {
    }

    public Person(int id, String name, String password, String create_time, String update_time) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.create_time = create_time;
        this.update_time = update_time;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public String getCreate_time() {
        return create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    /**
     * @return
     */
    @Override
    public String toFormattedString() {
        return JsonValue.super.toFormattedString();
    }
}
